<?php
// +----------------------------------------------------------------------
// | COMPANY  [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2024 https://www.fastadmin.net All rights reserved.
// +----------------------------------------------------------------------
// | Author: 乘风
// +----------------------------------------------------------------------

namespace app\admin\model\company;

use think\Model;


class Setting extends Model
{

    

    

    // 表名
    protected $name = 'company_setting';

    static public function getValueByKey($name)
    {
        $row = self::where('name', $name)->find();
        if ($row) {
            return $row->value;
        }
        return false;
    }
    

    







}